package com.yixin.hospital.entity.dto.req.patientsource;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("编辑患者来源请求体")
public class PatientSourceEditReqDTO {
    @ApiModelProperty(value = "id", example = "1")
    @NotNull(message = "id不能为空")
    private Long id;

    @ApiModelProperty(value = "来源", example = "路过")
    @NotBlank(message = "来源不能为空")
    private String source;

}
